﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XTeam.Core.Abstract;
using System.Data.Entity;
using XTeam.Document.Factory.DataAccessInterface;
using XTeam.Document.Entities.Words;
using System.Data.Entity.Infrastructure;

namespace XTeam.Documents.DataAccess
{
    public class WordsDataAccess : DbCore, IWordsDataAccess
    {
        protected override DbContext CreateDb()
        {
            return string.IsNullOrEmpty(this._connectionString) ? new DataBase() : new DataBase(_connectionString);
        }
    }


}
